<template>
  <div id="app">
    <router-view></router-view>
    <div
      class="home"
      @click="path"
    >
      <van-icon name="wap-home" />
    </div>
  </div>
</template>

<script>


export default {
  components: {

  },
  name: 'App',
  methods: {
    path () {
      this.$router.push({ path: '/home' })
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
* {
  box-sizing: border-box;
}
/* .wrapper{
  background:#C7C7C7;
} */

.home {
  font-size: 30px;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  border: 1px solid #d7d7d7;
  color: #d7d7d7;
  width: 40px;
  height: 40px;
  float: left;
  position: absolute;
  right: 10px;
  bottom: 70px;
}
</style>
